package com.njzxw.yoga.yogaApi.bean;

import com.njzxw.fs.commonutil.annotation.ValidInsert;
import com.njzxw.fs.commonutil.annotation.ValidUpdate;
import com.njzxw.fs.commonutil.bean.BaseBean;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Setter
@Getter
@ToString(callSuper = true)
public class ManagerUserBean extends BaseBean {

    @ValidInsert
    @ValidUpdate
    public String id;

    @ValidInsert
    @ValidUpdate
    public String name;

    @ValidInsert
    @ValidUpdate
    public String mobile;

    @ValidInsert
    @ValidUpdate
    public String email;

    @ValidInsert
    @ValidUpdate
    public String bir;

    @ValidInsert
    @ValidUpdate
    public String addr;

    @ValidInsert
    @ValidUpdate
    public String headimg;


    public interface Insert{}

    public interface Update{}

    public interface Delete{}

    public interface QueryPage{}

    public interface QueryId{}

    public interface Save{}

}